Platform Explorer / Nuxeo Platform 6.0

Contribution studio.extensions.easyshare--filters

This contribution is part of XML component studio.extensions.easyshare inside easyshare-1.0.4-593.jar

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>EasyShareFolder</type>
            <condition>!document.isImmutable()</condition>
            <condition>#{typeManager.getAllowedSubTypes(document.getType(), document).size() &gt; 0}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
    <filter append="true" id="create">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>EasyShareFolder</type>
        <condition>!document.isImmutable()</condition>
        <condition>#{typeManager.getAllowedSubTypes(document.getType(), document).size() &gt; 0}</condition>
      </rule>
    </filter>
  </extension>